package com.lfnyxy.util;

import java.util.UUID;

/**
 * Created by ted on 18/2/23.
 */
public class UUIDUtil {

    public static String uuid(){
        return UUID.randomUUID().toString().replace("-","");
    }
    public static String GenerateID(int index){
        return UUID.randomUUID().toString().substring(0,index);
    }

}
